<?php
declare(strict_types=1);

namespace app\shop\model\notify;

use app\shop\model\BaseModel;

class NotifyConfigModel extends BaseModel
{
    protected $name = 'shop_notify_config';

    public function getReceiverIdsAttr($value): array|bool
    {
        if (is_null($value) || $value == '') return [];

        return explode(',', $value);
    }
}